<template>
	<view>
		<button @click="asd">我的订单</button>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			asd() {
				uni.navigateTo({
						url: "/pages/ Myorder/ Myorder",
					}),
					uni.request({
						url: "http://172.16.103.8:8088/orderStatus/getOrderStatus",
						method: "POST",
						data: {
							// 
						value: this.value
						},
						success: (res) => {
							console.log("Data sent to backend:", res);
						},
						fail: (err) => {
							console.error("Failed to send data to backend:", err);
						}
					});
			}
		}
	}
</script>

<style>

</style>